﻿ 
using LY.Manage.DAL;
using LY.Manage.IDAL;
using LY.Manage.Model;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LY.Manage.DALFactory
{
	public partial class DBSession : IDBSession
    {
	
		private IActionInfoDal _ActionInfoDal;
        public IActionInfoDal ActionInfoDal
        {
            get
            {
                if(_ActionInfoDal == null)
                {
                    _ActionInfoDal = AbstractFactory.CreateActionInfoDal();
                }
                return _ActionInfoDal;
            }
            set { _ActionInfoDal = value; }
        }
	
		private IDemoInfoDal _DemoInfoDal;
        public IDemoInfoDal DemoInfoDal
        {
            get
            {
                if(_DemoInfoDal == null)
                {
                    _DemoInfoDal = AbstractFactory.CreateDemoInfoDal();
                }
                return _DemoInfoDal;
            }
            set { _DemoInfoDal = value; }
        }
	
		private IDepartmentDal _DepartmentDal;
        public IDepartmentDal DepartmentDal
        {
            get
            {
                if(_DepartmentDal == null)
                {
                    _DepartmentDal = AbstractFactory.CreateDepartmentDal();
                }
                return _DepartmentDal;
            }
            set { _DepartmentDal = value; }
        }
	
		private IDepartmentActionInfoDal _DepartmentActionInfoDal;
        public IDepartmentActionInfoDal DepartmentActionInfoDal
        {
            get
            {
                if(_DepartmentActionInfoDal == null)
                {
                    _DepartmentActionInfoDal = AbstractFactory.CreateDepartmentActionInfoDal();
                }
                return _DepartmentActionInfoDal;
            }
            set { _DepartmentActionInfoDal = value; }
        }
	
		private IR_UserInfo_ActionInfoDal _R_UserInfo_ActionInfoDal;
        public IR_UserInfo_ActionInfoDal R_UserInfo_ActionInfoDal
        {
            get
            {
                if(_R_UserInfo_ActionInfoDal == null)
                {
                    _R_UserInfo_ActionInfoDal = AbstractFactory.CreateR_UserInfo_ActionInfoDal();
                }
                return _R_UserInfo_ActionInfoDal;
            }
            set { _R_UserInfo_ActionInfoDal = value; }
        }
	
		private IRoleInfoDal _RoleInfoDal;
        public IRoleInfoDal RoleInfoDal
        {
            get
            {
                if(_RoleInfoDal == null)
                {
                    _RoleInfoDal = AbstractFactory.CreateRoleInfoDal();
                }
                return _RoleInfoDal;
            }
            set { _RoleInfoDal = value; }
        }
	
		private Isys_menuDal _sys_menuDal;
        public Isys_menuDal sys_menuDal
        {
            get
            {
                if(_sys_menuDal == null)
                {
                    _sys_menuDal = AbstractFactory.Createsys_menuDal();
                }
                return _sys_menuDal;
            }
            set { _sys_menuDal = value; }
        }
	
		private Isys_roleMenuMapDal _sys_roleMenuMapDal;
        public Isys_roleMenuMapDal sys_roleMenuMapDal
        {
            get
            {
                if(_sys_roleMenuMapDal == null)
                {
                    _sys_roleMenuMapDal = AbstractFactory.Createsys_roleMenuMapDal();
                }
                return _sys_roleMenuMapDal;
            }
            set { _sys_roleMenuMapDal = value; }
        }
	
		private Itbl_canshuDal _tbl_canshuDal;
        public Itbl_canshuDal tbl_canshuDal
        {
            get
            {
                if(_tbl_canshuDal == null)
                {
                    _tbl_canshuDal = AbstractFactory.Createtbl_canshuDal();
                }
                return _tbl_canshuDal;
            }
            set { _tbl_canshuDal = value; }
        }
	
		private IUserInfoDal _UserInfoDal;
        public IUserInfoDal UserInfoDal
        {
            get
            {
                if(_UserInfoDal == null)
                {
                    _UserInfoDal = AbstractFactory.CreateUserInfoDal();
                }
                return _UserInfoDal;
            }
            set { _UserInfoDal = value; }
        }
	}	
}